
package com.google.earth.kml;

/** 
 * 
 <![CDATA[

 Not final="#all" to show how IconType extended LinkType in KML 2.0.

 ]]>

 * 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://earth.google.com/kml/2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LinkType">
 *   &lt;xs:complexContent>
 *     &lt;xs:extension base="ns:ObjectType">
 *       &lt;xs:sequence>
 *         &lt;xs:element type="xs:string" name="href" minOccurs="0"/>
 *         &lt;xs:element type="ns:refreshModeEnum" default="onChange" name="refreshMode" minOccurs="0"/>
 *         &lt;xs:element type="xs:float" default="4" name="refreshInterval" minOccurs="0"/>
 *         &lt;xs:element type="ns:viewRefreshModeEnum" default="never" name="viewRefreshMode" minOccurs="0"/>
 *         &lt;xs:element type="xs:float" default="4" name="viewRefreshTime" minOccurs="0"/>
 *         &lt;xs:element type="xs:float" default="1" name="viewBoundScale" minOccurs="0"/>
 *         &lt;xs:element type="xs:string" name="viewFormat" minOccurs="0"/>
 *         &lt;xs:element type="xs:string" name="httpQuery" minOccurs="0"/>
 *       &lt;/xs:sequence>
 *     &lt;/xs:extension>
 *   &lt;/xs:complexContent>
 * &lt;/xs:complexType>
 * </pre>
 */
public class LinkType extends ObjectType
{
    private String href;
    private RefreshModeEnum refreshMode;
    private Float refreshInterval;
    private ViewRefreshModeEnum viewRefreshMode;
    private Float viewRefreshTime;
    private Float viewBoundScale;
    private String viewFormat;
    private String httpQuery;

    /** 
     * Get the 'href' element value.
     * 
     * @return value
     */
    public String getHref() {
        return href;
    }

    /** 
     * Set the 'href' element value.
     * 
     * @param href
     */
    public void setHref(String href) {
        this.href = href;
    }

    /** 
     * Get the 'refreshMode' element value.
     * 
     * @return value
     */
    public RefreshModeEnum getRefreshMode() {
        return refreshMode;
    }

    /** 
     * Set the 'refreshMode' element value.
     * 
     * @param refreshMode
     */
    public void setRefreshMode(RefreshModeEnum refreshMode) {
        this.refreshMode = refreshMode;
    }

    /** 
     * Get the 'refreshInterval' element value.
     * 
     * @return value
     */
    public Float getRefreshInterval() {
        return refreshInterval;
    }

    /** 
     * Set the 'refreshInterval' element value.
     * 
     * @param refreshInterval
     */
    public void setRefreshInterval(Float refreshInterval) {
        this.refreshInterval = refreshInterval;
    }

    /** 
     * Get the 'viewRefreshMode' element value.
     * 
     * @return value
     */
    public ViewRefreshModeEnum getViewRefreshMode() {
        return viewRefreshMode;
    }

    /** 
     * Set the 'viewRefreshMode' element value.
     * 
     * @param viewRefreshMode
     */
    public void setViewRefreshMode(ViewRefreshModeEnum viewRefreshMode) {
        this.viewRefreshMode = viewRefreshMode;
    }

    /** 
     * Get the 'viewRefreshTime' element value.
     * 
     * @return value
     */
    public Float getViewRefreshTime() {
        return viewRefreshTime;
    }

    /** 
     * Set the 'viewRefreshTime' element value.
     * 
     * @param viewRefreshTime
     */
    public void setViewRefreshTime(Float viewRefreshTime) {
        this.viewRefreshTime = viewRefreshTime;
    }

    /** 
     * Get the 'viewBoundScale' element value.
     * 
     * @return value
     */
    public Float getViewBoundScale() {
        return viewBoundScale;
    }

    /** 
     * Set the 'viewBoundScale' element value.
     * 
     * @param viewBoundScale
     */
    public void setViewBoundScale(Float viewBoundScale) {
        this.viewBoundScale = viewBoundScale;
    }

    /** 
     * Get the 'viewFormat' element value.
     * 
     * @return value
     */
    public String getViewFormat() {
        return viewFormat;
    }

    /** 
     * Set the 'viewFormat' element value.
     * 
     * @param viewFormat
     */
    public void setViewFormat(String viewFormat) {
        this.viewFormat = viewFormat;
    }

    /** 
     * Get the 'httpQuery' element value.
     * 
     * @return value
     */
    public String getHttpQuery() {
        return httpQuery;
    }

    /** 
     * Set the 'httpQuery' element value.
     * 
     * @param httpQuery
     */
    public void setHttpQuery(String httpQuery) {
        this.httpQuery = httpQuery;
    }
}
